save numpy arrayw with PIL

43

save numpy arrayw with PIL -

from PIL import Image
im = Image.fromarray(A)
im.save("your_file.jpeg")

Comments

Submit
0 Comments